import {post} from '../request'

const img = {
    // 图片上传OSS
    uploadImgOSS(param) {
        return post(
            '/img/uploadoss',
            param,
        )
    },

    // 图片上传本地
    uploadImg(param) {
        return post(
            '/img/upload',
            param,
        )
    }
}

export default img;
